package entity;

import java.io.Serializable;

/**
 * Rules
 *
 * @author lenovo
 * @since 2023/8/25
 */
public class Rules implements Serializable {
    private static final long serialVersionUID = 42L;

    //id
    private int id;

    //借书数量
    private int borrow_num;

    //限制天数
    private int limit_day;

    //借书图书馆
    private String borrow_library;

    //超时费用
    private float overtime_fee;

    public Rules() {
    }

    public Rules(int borrow_num, int limit_day, String borrow_library, float overtime_fee) {
        this.borrow_num = borrow_num;
        this.limit_day = limit_day;
        this.borrow_library = borrow_library;
        this.overtime_fee = overtime_fee;
    }

    public Rules(int id, int borrow_num, int limit_day, String borrow_library, float overtime_fee) {
        this.id = id;
        this.borrow_num = borrow_num;
        this.limit_day = limit_day;
        this.borrow_library = borrow_library;
        this.overtime_fee = overtime_fee;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBorrow_num() {
        return borrow_num;
    }

    public void setBorrow_num(int borrow_num) {
        this.borrow_num = borrow_num;
    }

    public int getLimit_day() {
        return limit_day;
    }

    public void setLimit_day(int limit_day) {
        this.limit_day = limit_day;
    }

    public String getBorrow_library() {
        return borrow_library;
    }

    public void setBorrow_library(String borrow_library) {
        this.borrow_library = borrow_library;
    }

    public float getOvertime_fee() {
        return overtime_fee;
    }

    public void setOvertime_fee(float overTime_fee) {
        this.overtime_fee = overTime_fee;
    }
}
